<?php
require '../conect.inc';

$qry = "SELECT tipo, conteudo FROM tb_img_usuario WHERE id=$id";
$res = mysql_query($qry);
$tipo = mysql_result($res, 0, "tipo");
$conteudo = mysql_result($res, 0, "conteudo");

header("Content-type: $tipo");
print $conteudo;


?>
